package com.game.doudizhu.model;

import lombok.Data;

@Data
public class PlayerRank {
    private Long playerId;
    private String username;
    private Integer score;
    private Integer gamesPlayed;
    private Integer gamesWon;
    private Double winRate;
    private Integer achievementCount;
    
    // 构造函数
    public PlayerRank() {
        this.score = 0;
        this.gamesPlayed = 0;
        this.gamesWon = 0;
        this.winRate = 0.0;
        this.achievementCount = 0;
    }
} 